<template>
  <div>
    <span>test</span>
    <div :a="a" :b="b">
      <span>{{ a }}</span>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      a: 1,
      b: 2
    }
  }
}
</script>

<style lang="less">

</style>
